package com.tiantianfresh.view.service.impl;

import com.tiantianfresh.model.dao.CommodityMapper;
import com.tiantianfresh.model.pojo.CommodityResult;
import com.tiantianfresh.view.service.ShopFullwidthService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author FANGAO
 * @date 2021/12/8 - 下午 23:37
 */
@Service
public class ShopFullwidthServiceImpl implements ShopFullwidthService {

    @Resource
    private CommodityMapper commodityMapper;

    @Override
    public List<CommodityResult> queryCommodity() {
        return commodityMapper.queryCommodityname();
    }
}
